package com.junbao.message.infrastructure.command;

public class ConcreteCommand implements Command{

	private final MessageReceiver receiver;
	
	public ConcreteCommand(MessageReceiver receiver){
		this.receiver = receiver;
	}
	
	@Override
	public void messageRetry() {
		receiver.messageRetry();
	}

	@Override
	public void messageConfirm() {
		receiver.messageConfirm();
	}

}
